﻿using SMARTHOTEL.hotel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;

namespace SMARTHOTEL.RoomTypes
{
    public class RoomTypeAppService :
        CrudAppService<
            RoomType, //The Book entity
            RoomTypeDto, //Used to show books
            Guid, //Primary key of the book entity
            PagedAndSortedResultRequestDto, //Used for paging/sorting
            CreateUpdateRoomTypeDto>, //Used to create/update a book
        IRoomTypeAppService //implement the IBookAppService
    {
        public RoomTypeAppService(IRepository<RoomType, Guid> repository)
            : base(repository)
        {


        }

        //
        public override  Task<RoomTypeDto> CreateAsync(CreateUpdateRoomTypeDto input)
        {
            return base.CreateAsync(input);
        }
    }
}
